package com.cucn.eduservice.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.cucn.eduservice.entity.EduTeacher;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 讲师 服务类
 * </p>
 *
 * @author KouChaoJie
 * @since 2021-09-24
 */
public interface EduTeacherService extends IService<EduTeacher> {
    /**
     * 查询名师
     *
     * @return 名师集合
     */
    List<EduTeacher> selectTeacherList();

    /**
     * 讲师分页查询
     *
     * @param pageTeacher 分页信息
     * @return 查询出的所有分页数据
     */
    Map<String, Object> getTeacherFrontList(Page<EduTeacher> pageTeacher);
}
